<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>wdttb: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">wdttb
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('index.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">wdttb Documentation</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.00a ecm  08/16/01 First release
1.00b jhl  02/21/02 Repartitioned driver for smaller files
1.00b rpm  04/26/02 Made LookupConfig public and added <a class="el" href="struct_x_wdt_tb___config.html" title="This typedef contains configuration information for the device. ">XWdtTb_Config</a>
1.10b mta  03/23/07 Updated to new coding style
1.11a sdm  08/22/08 Removed support for static interrupt handlers from the
              MDD file
2.00a ktn  22/10/09 The driver is updated to use HAL processor APIs/macros.
              The following macros defined in <a class="el" href="xwdttb__l_8h.html">xwdttb_l.h</a> file have been
              removed - XWdtTb_mEnableWdt, XWdtTb_mDisbleWdt,
              XWdtTb_mRestartWdt, XWdtTb_mGetTimebaseReg and
              XWdtTb_mHasReset.
              Added the XWdtTb_ReadReg and XWdtTb_WriteReg
              macros. User should XWdtTb_ReadReg/XWdtTb_WriteReg to
              achieve the desired functionality of the macros that
              were removed.
3.0   adk  19/12/13 Updated as per the New Tcl API's
3.1   sk   11/10/15 Used UINTPTR instead of u32 for Baseaddress CR# 867425.
4.0   sha  12/17/15 Added Window WDT feature with basic mode.
                    Changed XWdtTb_GetTbValue to inline function.
                    Adherence to MISRA-C guidelines.
4.0   sha  01/29/16 Added XWdtTb_Event enum type.
                    Updated <a class="el" href="struct_x_wdt_tb___config.html" title="This typedef contains configuration information for the device. ">XWdtTb_Config</a> structure with Window WDT
                    parameters.
                    Updated <a class="el" href="struct_x_wdt_tb.html" title="The XWdtTb driver instance data. ">XWdtTb</a> core structure with config parameter and
                    removed RegBaseAddress parameter.</pre><pre>                    Added following static inline functions:
                    XWdtTb_GetTbValue, XWdtTb_SetRegSpaceAccessMode,
                    XWdtTb_GetRegSpaceAccessMode, XWdtTb_GetLastEvent,
                    XWdtTb_GetFailCounter, XWdtTb_IsResetPending,
                    XWdtTb_GetIntrStatus, XWdtTb_IsWrongCfg.</pre><pre>                    Added following functions:
                    XWdtTb_AlwaysEnable, XWdtTb_ClearLastEvent,
                    XWdtTb_ClearResetPending, XWdtTb_IntrClear,
                    XWdtTb_SetByteCount, XWdtTb_GetByteCount,
                    XWdtTb_SetByteSegment, XWdtTb_GetByteSegment,
                    XWdtTb_EnableSst, XWdtTb_DisableSst, XWdtTb_EnablePsm,
                    XWdtTb_DisablePsm, XWdtTb_EnableFailCounter,
                    XWdtTb_DisableFailCounter, XWdtTb_EnableExtraProtection,
                    XWdtTb_DisableExtraProtection, XWdtTb_SetWindowCount,
                    XWdtTb_CfgInitialize.
4.0   sha  02/17/16 Removed 3.1 version and added CR# 867425 change in
                    4.0 version.
4.1   adk  23/12/16 Fix race conition in the tcl CR#966068
      ms   03/17/17 Added readme.txt file in examples folder for doxygen
                    generation.
4.2   ms   04/18/17 Modified tcl file to add suffix U for all macros
                    definitions of wdttb in xparameters.h
4.3   srm  01/27/18 Added XWdtTb_ProgramWDTWidth to pragram the WDT width
           01/30/18 Added doxygen tags
4.4   aru  11/15/18 Replaced "Xil_AssertVoid" as "Xil_AssertNonvoid"
                    in <a class="el" href="group__wdttb__api.html#ga86133d7e1b0053409d5c743746a129fc" title="Programs the width of Watchdog Timer. ">XWdtTb_ProgramWDTWidth()</a>.
4.4   sne  03/01/19 Fixed violations according to MISRAC-2012 standards
                    modified the code for below violations,
                    No brackets to then/else,
                    Literal value requires a U suffix,Function return
                    type inconsistent,Logical conjunctions need brackets,
                    Declared the pointer param as Pointer to const,
                    Procedure has more than one exit point.
4.4   sne  03/04/19 Added support for Versal ( Generic Watchdog and
                    Window Watchdog timer).
                    Added following functions:
                    XWdtTb_IsGenericWdtFWExpired, XWdtTb_SetSSTWindow
                    XWdtTb_SetGenericWdtWindow.
4.5   nsk  08/07/19 Updated testapp tcl to generate polled mode
                    example, when Wdttb interrupt pin is not connected
                    CR# 1035919.
4.5   nsk  08/07/19 Fixed the warnings while generating test app
4.5   sne  06/25/19 Fixed Coverity warning.
4.5   sne  09/27/19 Updated Tcl file for WWDT &amp; AXI Timebase WDT IP.
              Updated driver to support for WWDT and AXI Timebase WDT.
              While accessing AXI Timebase WDT appending "C" to base
              address for getting AXI Watchdog offsets.
5.0     sne  12/30/19 Updated example files with "Successfully ran"string.CR#1050724
5.0     sne  01/31/20 Removed compare value registers write while configuring Generic
              watchdog window timer.CR#1052544
5.0     sne  02/27/20 Reorganize the driver source and Fixed doxygen warnings.
              Added XWdtTb_ConfigureWDTMode function.
5.1     sne  05/04/20 Fixed violations according to MISRAC-2012 standards.
5.6     sne  04/11/22 Added IP interrupt current core connection check for
              Generic WDT example
5.5     sne  05/07/22 Added XWdtTb_SetGenericWdtWindowTimeOut API to configure
              generic watchdog window.
5.7     sb   07/12/23 Added support for system device-tree flow.
5.9   ht   05/15/24 Port <a class="el" href="group__wdttb__api.html#ga62df11d6ae0d6652fd3f79b71aebe9c7" title="Initializes a specific legacy/window watchdog timer/timebase instance/driver. ">XWdtTb_Initialize()</a> to SDT flow
5.10  ht   04/01/25 Add MaxCountWidth, SstCountWidth in <a class="el" href="struct_x_wdt_tb___config.html" title="This typedef contains configuration information for the device. ">XWdtTb_Config</a> to both
                      the flows as it is required for Axi Timebase WDT.</pre><pre></pre> </div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
